﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<DocumentInfo>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        [<%= Model.DOC_CD %>]<%= Model.DOC_SUBJECT %></title>
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="<%= Url.Content("~/Content/nyroModal.css") %>" rel="stylesheet" type="text/css" />
    <link href="<%= Url.Content("~/Content/nyroModal.full.css") %>" rel="stylesheet"
        type="text/css" />

    <script type="text/javascript" language="javascript" src="<%= Url.Content("~/Scripts/Calendar.js") %>"></script>

    <script type="text/javascript" language="javascript" src="<%= Url.Content("~/Scripts/jquery-1.4.1.js") %>"></script>

    <script type="text/javascript" language="javascript" src="<%= Url.Content("~/Scripts/jquery-1.4.1.min.js") %>"></script>

    <script type="text/javascript" language="javascript" src="<%= Url.Content("~/Scripts/jquery.nyroModal-1.6.2.pack.js") %>"></script>

    <style type="text/css">
        body
        {
            background-color: #ffffff;
            font-size: .75em;
            font-family: Verdana, Helvetica, Sans-Serif;
            margin: 0;
            padding: 0;
            color: #696969;
        }
    </style>
</head>
<body>
    <div style="padding-left: 10px; padding-right: 10px; padding-top: 0px;">
        <fieldset>
            <legend>Document</legend>
            <%
                if (Model != null)
                {
            %>
            <div class="editor-label">
                Doc Code:
                <%= Model.DOC_CD %>
            </div>
            <div class="editor-label">
                Doc Subject:
                <%= Model.DOC_SUBJECT %>
            </div>
            <div class="editor-label">
                Doc Datetime:
                <%= Model.DOC_DATETIME %>
            </div>
            <div class="editor-label">
                <div style="padding: 5px; background-color: #faf496;">
                    <%= Model.DOC_BODY%>
                </div>
            </div>
            <%
                }
            %>
        </fieldset>
    </div>
</body>
</html>

<script type="text/javascript">
    $(function() {
        $.nyroModalSettings({ height: 450, width: 600 });
    });
</script>

